package switchTest

import "fmt"

func TestSwitch() {
	var i int8 = 1 + 3
	value1 := [...]int8{0, 1, 2, 3, 4, 5, 6}
	switch i {
	case value1[0], value1[1]:
		fmt.Println("0 or 1")
	case value1[2], value1[3]:
		fmt.Println("2 or 3")
	case value1[4], value1[5], value1[6]:
		fmt.Println("4 or 5 or 6")
	}
}
